package com.loves.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.loves.admin.model.ProductCategory;

public interface ProductCategoryService {

    IPage<ProductCategory> selectByParent(Page<ProductCategory> page);

    IPage<ProductCategory> selectByItem(Page<ProductCategory> page,String id);

    int create(ProductCategory productCategory);

    int update(ProductCategory productCategory);

    int delete(String id);
}
